package com.eduction.modules.system.entity;

import javax.persistence.Transient;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "t_school_item_data")
@Entity
public class SchoolItemData {

	private String p_id;
	private String s_school_id;
	private String s_item_id;
	private String s_value;
	private String s_create_time;
	private int s_year;
	
	private String s_name;
	
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name = "p_id")
	public String getP_id() {
		return p_id;
	}
	@Column(name = "s_school_id")
	public String getS_school_id() {
		return s_school_id;
	}
	@Column(name = "s_item_id")
	public String getS_item_id() {
		return s_item_id;
	}
	@Column(name = "s_value")
	public String getS_value() {
		return s_value;
	}
	@Column(name = "s_create_time")
	public String getS_create_time() {
		return s_create_time;
	}
	@Column(name = "s_year")
	public int getS_year() {
		return s_year;
	}
	public void setP_id(String p_id) {
		this.p_id = p_id;
	}
	public void setS_school_id(String s_school_id) {
		this.s_school_id = s_school_id;
	}
	public void setS_item_id(String s_item_id) {
		this.s_item_id = s_item_id;
	}
	public void setS_value(String s_value) {
		this.s_value = s_value;
	}
	public void setS_create_time(String s_create_time) {
		this.s_create_time = s_create_time;
	}
	public void setS_year(int s_year) {
		this.s_year = s_year;
	}
	@Transient
	public String getS_name() {
		return s_name;
	}
	public void setS_name(String s_name) {
		this.s_name = s_name;
	}
	
}
